package com.llp.declaresystem.service;

import com.llp.declaresystem.domain.entity.AdminUserView;
import com.llp.declaresystem.domain.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

/**
* @author NASK
* @description 针对表【user(统一登录用户信息表)】的数据库操作Service
* @createDate 2022-11-23 16:22:57
*/
public interface UserService extends IService<User> {



    Map login(User user, HttpSession session);

    //返回对应admin的用户列表的list集合；
    List<AdminUserView>  getAdminUserView();

    //添加用户
    boolean addUser(User user);
}
